
<!DOCTYPE html>
<html lang="en">
<head>

    <!-- Basic Page Needs
    –––––––––––––––––––––––––––––––––––––––––––––––––– -->
    <meta charset="utf-8">
    <title>小立报名</title>
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Mobile Specific Metas
    –––––––––––––––––––––––––––––––––––––––––––––––––– -->
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSS
    –––––––––––––––––––––––––––––––––––––––––––––––––– -->
    <link rel="stylesheet" href="https://baoming.lifang.biz/styles/front/css/normalize.css">
    <link rel="stylesheet" href="https://baoming.lifang.biz/styles/front/css/skeleton.css">
    <link rel="stylesheet" href="https://baoming.lifang.biz/styles/front/custom/css/custom.css">

    <!-- Scripts
    –––––––––––––––––––––––––––––––––––––––––––––––––– -->
    <script src="https://baoming.lifang.biz/styles/comm/scripts/jquery.min.js"></script>

    <!-- Favicon
    –––––––––––––––––––––––––––––––––––––––––––––––––– -->
    <link rel="icon" type="image/png" href="/styles/admin/custom/img/favicon.ico">
</head>
<body><div class="section hero margin-top-20">
    <div class="container">
        <div class="row">
            <h4 class="hero-heading">软件工程项目二－活动介绍</h4>
            <p>活动开始时间:#date(activity.startTime) 
            , 活动结束时间:#date(activity.endTime),报名截止时间:#date(activity.registrationDeadline)</p>
            <p>活动地址: #(activity.address)</p>
            <p>17人已读,2人已报名, 0人已关注</p>
            <p>软件工程第二个作业</p>
        </div>
    </div>
</div>

<div class="section values">
    <div class="container">
        <div class="row">
                            <h4 class="hero-heading">报名名单</h4>
                <a class="button button-primary" href="http://127.0.0.1/export_registration_list/#(activity.id)" >导出excel</a>
                <table class="u-full-width" id="tb">
                <thead>
                <tr>
                    <th>序号</th>
                   #for(title : titles)
                    <th>#(title)</th>

                   #end
                </tr>
                </thead>
                <tbody>
                #for(row: rows)
                <tr>
                	<td>#(for.index+1)</td>
                	#for(cell : row)
                		<td>#(cell)</td>
                	#end
                #end
                </tbody>
            </table>
                    </div>
    </div>
</div>

<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?720152991393912bd45790f6ffda84db";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<script type="text/javascript">
    //隔行变色
    var obj=document.getElementById("tb");
    for(var i=0;i<obj.rows.length;i++){
        obj.rows[i].onmouseover=function(){this.style.background="#B2B2B2";}
        obj.rows[i].onmouseout=function(){this.style.background="";}
    }
</script>
</body>
</html>